pkgname=mce-headers
pkgver=1.8.19
pkgrel=2
pkgdesc="Development files for mce"
arch="noarch"
url="https://github.com/maemo-leste/mce-dev"
license="LGPL-2.1"
makedepends="coreutils doxygen"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/maemo-leste/mce-dev/archive/$pkgver.tar.gz"

builddir="$srcdir/mce-dev-$pkgver"

build() {
	cd "$builddir"
	mkdir doc
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir/" install
	install -d $pkgdir/usr/share/doc/mce-doc/html/
	install -m 644 doc/html/* $pkgdir/usr/share/doc/mce-doc/html/
}
sha512sums="e7eafc081ce1702b8eb42951abea58e98b54bb313e7c742b0502e2d189ed5c71bb72b4ed344537e98c9a9aa6da90bf3cfd5933a302918dd5e18552f32933a9ae  mce-headers-1.8.19.tar.gz"
